#include<bits/stdc++.h>
using namespace std;
struct num{
    int x,pos;
}nm[100007];
int t,ans=0;
bool cmp(num a,num b){
    if(a.x!=b.x)return a.x>b.x;
    return a.pos>b.pos;
}
int n,a[100007];
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    cout<<5<<'\n'<<19<<'\n'<<7<<'\n'<<1;
}
